package com.joolun.weixin.entity;

import com.joolun.common.annotation.Excel;
import com.joolun.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 直播活动配置对象 zb_active_config
 * 
 * @author joolun
 * @date 2025-04-24
 */
@Data
public class ZbActiveConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String title;

    /** 外显名称 */
    @Excel(name = "外显名称")
    private String displayName;

    /** 开奖时间 */
    @Excel(name = "开奖时间")
    private String prizeTime;

    /** 参与条件 */
    @Excel(name = "参与条件")
    private String joinCondition;

    /** 兑奖方式 */
    @Excel(name = "兑奖方式")
    private String exchangeType;

    /** 开奖模式 */
    @Excel(name = "开奖模式")
    private String prizeModel;

    /** 剩余奖品处理 */
    @Excel(name = "剩余奖品处理")
    private String surplusType;

    /** 助教上限人数 */
    @Excel(name = "助教上限人数")
    private String peopleAllow;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDisplayName(String displayName) 
    {
        this.displayName = displayName;
    }

    public String getDisplayName() 
    {
        return displayName;
    }
    public void setPrizeTime(String prizeTime) 
    {
        this.prizeTime = prizeTime;
    }

    public String getPrizeTime() 
    {
        return prizeTime;
    }
    public void setJoinCondition(String joinCondition) 
    {
        this.joinCondition = joinCondition;
    }

    public String getJoinCondition() 
    {
        return joinCondition;
    }
    public void setExchangeType(String exchangeType) 
    {
        this.exchangeType = exchangeType;
    }

    public String getExchangeType() 
    {
        return exchangeType;
    }
    public void setPrizeModel(String prizeModel) 
    {
        this.prizeModel = prizeModel;
    }

    public String getPrizeModel() 
    {
        return prizeModel;
    }
    public void setSurplusType(String surplusType) 
    {
        this.surplusType = surplusType;
    }

    public String getSurplusType() 
    {
        return surplusType;
    }
    public void setPeopleAllow(String peopleAllow) 
    {
        this.peopleAllow = peopleAllow;
    }

    public String getPeopleAllow() 
    {
        return peopleAllow;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("displayName", getDisplayName())
            .append("prizeTime", getPrizeTime())
            .append("joinCondition", getJoinCondition())
            .append("exchangeType", getExchangeType())
            .append("prizeModel", getPrizeModel())
            .append("surplusType", getSurplusType())
            .append("peopleAllow", getPeopleAllow())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
